<!DOCTYPE html>
<html style="font-size: 50px;">
<head>
<#include "include/head.html"/>
</head>
<body class="has-hover">
<form action="/index" style="margin-top: 50px">
    <div class="top-search" id="titlebar">
        <div class="content">

            <div class="input-group search-area">
                <input type="text" class="left-input" id="q" value="" name="name">
                <button type="submit" class="default-btn right-btn" id="search">搜索</button>
            </div>

        </div>
    </div>
</form>
<div class="container hold-top-g">
<#include "include/top.html"/>

    <div class="content">
        <div class="c-left">
            <div class="articles">
                <div>
                <#list pageInfo.list as item>
                    <div class="list-item-row">
                        <div class="article">
                            <div class="article-content link">
                                <div class="title"><a href="/article/${item.id}">${item.name}</a></div>
                                <div class="cover">
                                    <div class="image-cover"><a href="/article/${item.id}"><img
                                            src="${item.img}"></a></div>
                                </div>
                            ${item.descript!}
                            </div>
                        </div>
                    </div>
                </#list>
                </div>
            </div>
            <link rel="stylesheet" type="text/css" href="/themes/plugins/bootstrap/css/bootstrap.min.css">
            <div class="page">
                <div class="page pull-right">
                    <ul class="pagination">
                        <li>共${pageInfo.total}条数据</li>
                        <li>&nbsp;&nbsp;</li>
                        <li>共${pageInfo.pages}页</li>
                    </ul>
                </div>
                <div class="page pull-left">
                    <!-- 分页插件 -->
                    <ul class="pagination">

                    <#list pageInfo.navigatepageNums as num>
                        <li <#if pageInfo.pageNum == num>class="active"</#if>>
                            <a <#if pageInfo.pageNum != num>href="${url}&pageNum=${num}" </#if>>${num}</a>
                        </li>
                    </#list>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>